import { createRoot } from 'react-dom/client'
import App from './App.jsx'
import { ConfigProvider, Watermark } from 'antd'
import 'dayjs/locale/zh-cn'
import zhCN from 'antd/locale/zh_CN'
import './assets/reset.css'
import initApis from './api/index'

initApis()

createRoot(document.getElementById('root')).render(
  <Watermark content={['Ant Design', 'Happy Working']}>
    <ConfigProvider locale={zhCN}>
      <App />
    </ConfigProvider>
  </Watermark>
)
